package com.soso.confidant.util;

public class Replace {
	private static Replace replace = new Replace();
	
	private Replace(){
	}

	public static Replace getInstance(){
		return replace;
	}
	
	public String AsyReplace(String html,String tag,String add){
		String result;
		result = html.replace(tag,tag+add);
		return result;
	}
	public String PageLinkReplace(String html){
		html=html.replace("href=\"/q?", "href=\"q?");
		html=html.replace("action=\"q\"", "action=\"q\"");
		return html;
	}
	
}
